package com.emergency.data.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;

/**
 * (EmergencyRecording)实体类
 * 应急响应记录
 * @author makejava
 * @since 2020-10-10 13:53:34
 */
@Data
@EqualsAndHashCode(callSuper = true)
public class EmergencyRecording extends BaseEntity implements Serializable {
    private static final long serialVersionUID = 870007380554940738L;
    /**
     * 响应记录ID
     */
    @TableId(type = IdType.AUTO)
    private Long id;
    /**
     * 响应等级 1-一级 2-二级 3-三级 4-四级
     */
    private Integer grade;
    /**
     * 响应状态 0-解除 1-启动
     */
    private Integer status;
    /**
     * 年份
     */
    private Integer year;
}